package com.jsj.bootdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jsj.bootdemo.mapper.metadataMapper;
import com.jsj.bootdemo.pojo.metadata;
import com.jsj.bootdemo.pojo.metadataVo;
import com.jsj.bootdemo.service.metadataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class metadataServiceImpl extends ServiceImpl<metadataMapper, metadata> implements metadataService {
    @Autowired
    metadataMapper metadataMapper;

    @Override
    public List<metadataVo> departmentAuthority(String companyName) {
        List<metadataVo> list = metadataMapper.departmentAuthority(companyName);
        return list;
    }
}
